package com.wang.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum DiagnosisCoatedEnum {
    // 无苔
    NOCOATED(0,"无苔"),
    // 白苔
    WHITE(1,"白苔"),
    // 黄苔
    YELLOW(2,"黄苔");

    @EnumValue
    private final Integer code;
    private final String name;

    DiagnosisCoatedEnum(final Integer code, final String name) {
        this.code = code;
        this.name = name;
    }
}
